/* 覆盖main.css中的样式，修复大屏幕布局问题 */

/* 覆盖#app的样式 */
#app {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* 覆盖大屏幕媒体查询 */
@media (min-width: 1024px) {
  body {
    display: block !important;
    place-items: initial !important;
    align-items: initial !important;
    justify-content: initial !important;
  }

  #app {
    display: flex !important;
    grid-template-columns: none !important;
    padding: 0 !important;
    place-items: initial !important;
  }

  .main-content {
    width: 100% !important;
  }

  .container {
    width: 100% !important;
    max-width: 1200px !important;
  }
}

/* 超宽屏幕适配 */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px !important;
  }
}

/* 确保所有内容都在视口内 */
html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* 修复可能的网格布局问题 */
.greetings,
.item {
  display: block !important;
  grid-template-columns: none !important;
}
